/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};

/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {

/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId])
/******/ 			return installedModules[moduleId].exports;

/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			exports: {},
/******/ 			id: moduleId,
/******/ 			loaded: false
/******/ 		};

/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;

/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}


/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;

/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;

/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";

/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ({

/***/ 0:
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/3/14.
	 */
	var Breadcrumb = __webpack_require__(7);

	var Root = React.createClass({displayName: "Root",
	    addAccount:function(){
	        this.refs.layer1.layerOpen();
	    },
	    updateResult:function(v){
	        var _container = this.refs.content;
	        var _innerHtml;
	        if(v.orderType){
	            _innerHtml = (
	                React.createElement("div", null, 
	                    React.createElement("h1", null, React.createElement("i", {class: "iconfont icon-success"}), " 订单提交成功，请稍后查看投资记录"), 
	                    React.createElement("div", {class: "detail"}, 
	                        React.createElement("h2", null, v.ProjectName), 
	                        React.createElement("ul", {class: "clearfix"}, 
	                            React.createElement("li", {class: ""}, "投标金额"), 
	                            React.createElement("li", null, "预期收益"), 
	                            React.createElement("li", null, "还款时间"), 
	                            React.createElement("li", null, v.OrderAmount + "元"), 
	                            React.createElement("li", null, React.createElement("span", {class: "fc-main"}, React.createElement("strong", null, v.InterestAmount)), " 元"), 
	                            React.createElement("li", null, v.RepayBegin)
	                        )
	                    ), 
	                    React.createElement("div", {class: "button"}, 
	                        "您现在可以", React.createElement("a", {href: "账户中心/我的帐户.html", class: "btn btn-confirm"}, "进入账户中心"), React.createElement("a", {href: "index.html", class: "btn btn-cancel"}, "返回首页")
	                    ), 
	                    React.createElement("div", {class: "fc-light tips"}, "如需查看更多投标信息，请进入您的账户中心查看！")
	                )
	            )
	        }else{
	            _innerHtml = (
	                React.createElement("div", null, 
	                    React.createElement("h1", {class: "fc-main"}, React.createElement("i", {class: "iconfont icon-failure"}), " 抱歉，订单支付不成功"), 
	                    React.createElement("div", {class: "tips-failure"}, v.ErrorTips), 
	                    React.createElement("div", {class: "button"}, React.createElement("a", {href: PageDM.URL.retry, class: "btn btn-cancel"}, "返回重试"))
	                )
	            )
	        }
	        _container.innerHTML = _innerHtml.innerHTML;
	    },
	    componentDidMount: function(){
	        UEventHub.emit("pageLoad","hello world!");
	    },
	    render: function () {
	        var _this = this;
	        var PageDM = window.PageDM;
	        //支付结果
	        UEventHub.on(PageDM.resultDate.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function(v){
	            _this.updateResult(v);
	        });
	        return (
	            React.createElement("div", null, 
	                React.createElement("div", {className: "header"}, 
	                    React.createElement("div", {className: "top-bar fc-light"}, 
	                        React.createElement("div", {className: "container"}, 
	                            React.createElement("span", null, "服务热线：0816-2373017"), 
	                            React.createElement("span", null, "服务时间：工作日 9:00-18:00"), 
	                        React.createElement("span", {className: "nav-right"}, 
	                            React.createElement("a", {href: "登录.html"}, "登录"), 
	                            React.createElement("a", {href: "注册.html"}, "注册"), 
	                            React.createElement("a", {href: "../帮助中心/平台介绍.html"}, "帮助中心"), 
	                            React.createElement("a", {href: "../index.html"}, "返回绵阳商业银行")
	                        )
	                        )
	                    ), 
	                    React.createElement("div", {className: "header-nav"}, 
	                        React.createElement("div", {className: "container"}, 
	                            React.createElement("div", {className: "logo f-left"}, 
	                                React.createElement("a", {href: "../index.html"}, 
	                                    React.createElement("img", {src: "../images/logo.jpg", alt: ""})
	                                ), 
	                                React.createElement("a", {href: "../index.html"}, 
	                                    React.createElement("img", {src: "../images/logoe.jpg", alt: ""})
	                                )
	                            ), 
	                            React.createElement("div", {className: "nav f-right"}, 
	                                React.createElement("ul", {className: "clearfix"}, 
	                                    React.createElement("li", null, React.createElement("a", {href: "../index.html"}, "首页")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../我要投资.html"}, "我要投资")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../我要借款.html"}, "我要借款")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../账户中心/我的账户.html"}, "我的账户"))
	                                )
	                            ), 
	                            React.createElement("div", {className: "clear"})
	                        ), 
	                        React.createElement("div", {className: "shadow"})
	                    )
	                ), 

	                React.createElement("div", {className: "container"}, 
	                    React.createElement(Breadcrumb, {	separator: ">"}, 
	                        React.createElement(Breadcrumb.Item, {href: PageDM.URL.home}, "首页"), 
	                        React.createElement(Breadcrumb.Item, {href: PageDM.URL.invest}, "我要投资"), 
	                        React.createElement(Breadcrumb.Item, null, "支付结果")
	                    ), 

	                    React.createElement("div", {class: "pay-result"}, 
	                        React.createElement("div", {class: "line"}), 
	                        React.createElement("div", {class: "content", ref: "content"}

	                        )
	                    )
	                ), 

	                React.createElement("div", {className: "footer"}, 
	                    React.createElement("div", {className: "container"}, 
	                        React.createElement("div", {className: "footer-logo f-left"}, 
	                            React.createElement("p", {className: "logo-foot"}, React.createElement("img", {src: "../images/foot-logo.png", alt: ""})), 
	                            React.createElement("p", {className: "txt"}, 
	                                "2005－2013 绵阳市商业银行股份有限公司", 
	                                React.createElement("a", {href: "http://www.miitbeian.gov.cn", target: "_blank"}, "粤ICP备11013283123号")
	                            )
	                        ), 
	                        React.createElement("div", {className: "footer-nav f-right"}, 
	                            React.createElement("div", {className: "col"}, 
	                                React.createElement("h3", null, "关于我们"), 
	                                React.createElement("ul", null, 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/平台介绍.html"}, "平台介绍")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/名词解释.html"}, "名词解释")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/联系我们.html"}, "联系我们")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/服务协议.html"}, "服务协议"))
	                                )
	                            ), 
	                            React.createElement("div", {className: "col"}, 
	                                React.createElement("h3", null, "安全保障"), 
	                                React.createElement("ul", null, 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/安全保障.html"}, "项目安全")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/安全保障.html"}, "资金安全")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/安全保障.html"}, "信息安全")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/安全保障.html"}, "账户安全"))
	                                )
	                            ), 
	                            React.createElement("div", {className: "col"}, 
	                                React.createElement("h3", null, "帮助中心"), 
	                                React.createElement("ul", null, 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/投资操作指引.html"}, "投资指引")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/融资操作指引.html"}, "融资指引")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/平台公告.html"}, "平台公告")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "javascript:;"}, "常见问题"))
	                                )
	                            ), 
	                            React.createElement("div", {className: "col col-service"}, 
	                                React.createElement("p", null, "客服专线", React.createElement("br", null), "0816-2373017"), 
	                                React.createElement("p", null, "服务时间", React.createElement("br", null), "工作日9:00 - 18:00")
	                            )
	                        ), 
	                        React.createElement("div", {className: "clear"})
	                    )
	                )
	            )
	        )
	    }
	});
	ReactDOM.render(React.createElement(Root, null), document.getElementById('main'));

/***/ },

/***/ 7:
/***/ function(module, exports) {

	/**
	 * Created by Administrator on 2017/3/23.
	 */

	var Breadcrumb = React.createClass({displayName: "Breadcrumb",
	    getDefaultProps: function(){
	        return{
	            separator:'>'   //分隔符
	        }
	    },
	    render: function(){
	        var that = this;
	        var len = this.props.children.length;
	        return (
	            React.createElement("div", {className: "ucs-breadcrumb"}, 
	                
	                    this.props.children.map(function (child,index) {
	                        if(index == len-1){
	                            return React.createElement("span", {className: "ucs-breadcrumb-link-last"}, child);
	                        }else{
	                            return React.createElement("span", null, child, React.createElement("span", {className: "ucs-breadcrumb-separator"}, that.props.separator));
	                        }
	                    })
	                
	            )
	        )
	    }
	});
	Breadcrumb.Item = React.createClass({displayName: "Breadcrumb.Item",
	    render: function () {
	        return (
	            this.props.href ?
	                React.createElement("a", {href: this.props.href}, this.props.children) :
	                React.createElement("span", null, this.props.children)
	        )
	    }
	});

	module.exports = Breadcrumb;

/***/ }

/******/ });